<template>
  <div></div>
</template>

<script setup>
import { useMessage } from "naive-ui";

// 只有在客户端才执行里面的代码
if(process.client) {
  window.$message = useMessage();;
}
</script>

<style scoped>

</style>